package springboot.demo.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //用户ID
    @TableId
    private Long userId;
    //用户名
    private String username;
    //手机号
    private String mobile;
    //密码
    transient private String password;
    //创建时间
    private Date createTime;

}
